package org.egedede.osgi.guishell.model;

import org.osgi.framework.BundleContext;

public abstract class AbstractCommand implements Command{

	private BundleContext context;
	private String name;
	private String description;
	private CommandType type;



	public AbstractCommand(String name,
			String description, CommandType type) {
		super();
		this.name = name;
		this.description = description;
		this.type = type;
	}
	public BundleContext getContext() {
		return context;
	}
	public void setContext(BundleContext context) {
		this.context = context;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String descrition) {
		this.description = descrition;
	}
	public CommandType getType() {
		return type;
	}
	public void setType(CommandType type) {
		this.type = type;
	}
}
